DownloadRequest

data class DownloadRequest constructor(val indexFile: IndexFile, val mirrors: List<Mirror>, val proxy: <Error class: unknown class>? = null, val username: String? = null, val password: String? = null, val tryFirstMirror: Mirror? = null)

Constructors

Link copied to clipboard
constructor(path: String, mirrors: List<Mirror>, proxy: <Error class: unknown class>? = null, username: String? = null, password: String? = null, tryFirstMirror: Mirror? = null)
constructor(indexFile: IndexFile, mirrors: List<Mirror>, proxy: <Error class: unknown class>? = null, username: String? = null, password: String? = null, tryFirstMirror: Mirror? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val password: String? = null
Link copied to clipboard
val proxy: <Error class: unknown class>? = null
Link copied to clipboard
val tryFirstMirror: Mirror? = null

Signals the MirrorChooser that this mirror should be tried before all other mirrors. This could be useful for index updates for repositories with mirrors that update infrequently, so that the official repository can be tried first to get updates fast.

Link copied to clipboard
val username: String? = null